<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="zyInspectionRecordList" checkbox="false" fitColumns="false" title="巡检记录" actionUrl="zyInspectionRecordController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="设备序列号"  field="spareSn"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="巡检计划ID"  field="planId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="巡检时间"  field="actualDate"  formatter="yyyy-MM-dd"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="巡检单位"  field="company"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="巡检工程师"  field="engineer"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="所在影厅"  field="house"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="湿度"  field="ytRmHumidity"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="温度"  field="ytRmTemperature"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="冷却液面高度(ML)"  field="lqCoolantLiquidH"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="冷却液压力(Pa)"  field="lqScoreCoolant"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="排风管口风速"  field="lqVentSpeed"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="防尘滤网"  field="qjDustFilterClMp"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="零地电压(V)"  field="xlZeroVoltage"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="灯运行时间(小时)"  field="xdRunTime"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="点灯次数"  field="xdRunCount"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="光路"  field="gxLightPath"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="维护后亮度"  field="yxLightC"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="机器总运行时间"  field="totalRunTime"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="维护后评分"  field="afterScore"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="ENG 序列号"  field="engItemId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="TI/ICP 系列号"  field="tiIcpItemId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="LPS序列号"  field="lpsItemId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="Enigma序列号"  field="enigmaItemId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="控制板序列号"  field="controlerItemId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="SMPS序列号"  field="smpsItemId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="服务器品牌"  field="serverBrand"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="型号/序列号"  field="serverModel"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="工程师建议及评价"  field="comprehensiveEvaluation"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建人名称"  field="createName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建人登录名称"  field="createBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新人名称"  field="updateName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新人登录名称"  field="updateBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建日期"  field="createDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新日期"  field="updateDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
<%--   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>--%>
<%--   <t:dgDelOpt title="删除" url="zyInspectionRecordController.do?doDel&id={id}" />--%>
   <t:dgToolBar title="导入" icon="icon-put"   funname="importExcel"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
<script type="text/javascript">
$(document).ready(function(){
	//给时间控件加上样式
	$("#zyInspectionRecordListtb").find("input[name='createDate']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
	$("#zyInspectionRecordListtb").find("input[name='updateDate']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
});
function importExcel(){
	createdetailwindow('基础数据导入', 'zyInspectionRecordController.do?uploadFile',470,150);
}
 </script>